package com.ibeeking.found.msg.service.common.param;

import com.ibeeking.found.common.enums.msg.MsgTemplateCodeEnum;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;
import java.util.Map;

/**
 * @Description: 消息发送
 * @Author ibeeking
 * @Date 2022/3/22 11:17
 **/
@Data
public class MsgWxSendParam {
    /**
     * 租户id
     */
    private Integer tenantId;

    @NotNull(message = "消息信息不能为空!")
    private String templateCode;

    private Integer receiverType;

    private List<String> receiver;

    /**
     * 模板占位符填充数据
     */
    private Map<String, String> paramMap;
}
